export const wrapPromise = (func: (reslove, reject) => any) => {
    return new Promise(async (reslove, reject) => {
        return func(reslove, reject);
    })
}



export const mergeConfig = (oldConf, newConf) => {
    // 合并配置
    return Object.assign(oldConf, newConf)
}